import {IS_DEBUG} from '@/env';

const devConfig = {
    tcmHost: "https://renkang.ytell.cn/",
    trackingHost: "https://renkangtracking.ytell.cn/",
    stateHost: "https://teststate.renruikeji.cn/",
    imgBasePath: "https://renkang-marketing.oss-cn-beijing.aliyuncs.com/ketang/"
}

const prodConfig = {
    tcmHost: "https://state.renruikeji.cn/api/",
    trackingHost: "https://tracking.renruikeji.cn/",
    stateHost: "https://state.renruikeji.cn/",
    imgBasePath: "https://tousubiaoyang-1301970825.file.myqcloud.com/"
}

export const tcmHost = IS_DEBUG ? devConfig.tcmHost : prodConfig.tcmHost;
export const trackingHost = IS_DEBUG ? devConfig.trackingHost : prodConfig.trackingHost;
export const stateHost = IS_DEBUG ? devConfig.stateHost : prodConfig.stateHost;
export const imgBasePath = IS_DEBUG ? devConfig.imgBasePath : prodConfig.imgBasePath;
export const imgPathForRecruit = 'https://wechat-pictures-1301970825.cos.ap-beijing.myqcloud.com/shop/newYearRecruit'